package com.flyoil.petromp.entity.entity_course_message;

import com.flyoil.petromp.base.BaseEntity;
import com.flyoil.petromp.entity.entity_order.OrderFilesEntity;
import com.flyoil.petromp.entity.entity_order.OrderSignatureEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/11/27 0027.
 * 物资采购计划单详情的实体类
 */

public class GoodsOrderMessageEntity extends BaseEntity {


    /**
     * data : {"id":0,"sn":"类型: java.lang.String 描述: 订单编号","demandName":"类型: java.lang.String 描述: 需求名称","applicantName":"类型: java.lang.String 描述: 申请人","applicantPhone":"类型: java.lang.String 描述: 申请人电话","useDept":"类型: java.lang.String 描述: 使用单位","contacts":"类型: java.lang.String 描述: 联系人","contactPhone":"类型: java.lang.String 描述: 联系人电话","supplierName":"类型: java.lang.String 描述: 供应商","projectManager":"类型: java.lang.String 描述: 项目经理","projectManagerPhone":"类型: java.lang.String 描述: 项目经理电话","prepayments":"类型: java.lang.Boolean 描述: 预付款","orderDateLabel":"类型: java.lang.String 描述: 订单日期","transformStatusLabel":"类型: java.lang.String 描述: 单据状态","orderItems":[{"id":0,"materialName":"类型: java.lang.String 描述: 物资名称","model":"类型: java.lang.String 描述: 规格/型号"}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 0
         * sn : 类型: java.lang.String 描述: 订单编号
         * demandName : 类型: java.lang.String 描述: 需求名称
         * applicantName : 类型: java.lang.String 描述: 申请人
         * applicantPhone : 类型: java.lang.String 描述: 申请人电话
         * useDept : 类型: java.lang.String 描述: 使用单位
         * contacts : 类型: java.lang.String 描述: 联系人
         * contactPhone : 类型: java.lang.String 描述: 联系人电话
         * supplierName : 类型: java.lang.String 描述: 供应商
         * projectManager : 类型: java.lang.String 描述: 项目经理
         * projectManagerPhone : 类型: java.lang.String 描述: 项目经理电话
         * prepayments : 类型: java.lang.Boolean 描述: 预付款
         * orderDateLabel : 类型: java.lang.String 描述: 订单日期
         * transformStatusLabel : 类型: java.lang.String 描述: 单据状态
         * orderItems : [{"id":0,"materialName":"类型: java.lang.String 描述: 物资名称","model":"类型: java.lang.String 描述: 规格/型号"}]
         */

        private int id;
        private String sn;
        private String demandName;
        private String applicantName;
        private String applicantPhone;
        private String useDept;
        private String contacts;
        private int applicantId;
        private String contactPhone;
        private String supplierName;
        private String projectManager;
        private String projectManagerPhone;
        private String totalMoneyLabel;
        private boolean prepayments;
        private String orderDateLabel;
        private String deliveryAddress ;
        private List<OrderItemsBean> orderItems;
        private List<OrderSignatureEntity> confirmLogs;
        private List<OrderFilesEntity> files;
        private String transformStatusLabel;//单据流转状态：流转中、已完成、待撤销、已冻结
        private String confirmStatusLabel;//单据审核状态：待审批,已审批,已驳回待撤销,已撤销

        public String getConfirmStatusLabel() {
            return confirmStatusLabel;
        }

        public void setConfirmStatusLabel(String confirmStatusLabel) {
            this.confirmStatusLabel = confirmStatusLabel;
        }

        public String getTotalMoneyLabel() {
            return totalMoneyLabel;
        }

        public void setTotalMoneyLabel(String totalMoneyLabel) {
            this.totalMoneyLabel = totalMoneyLabel;
        }

        public int getApplicantId() {
            return applicantId;
        }

        public void setApplicantId(int applicantId) {
            this.applicantId = applicantId;
        }

        public List<OrderSignatureEntity> getConfirmLogs() {
            return confirmLogs;
        }

        public void setConfirmLogs(List<OrderSignatureEntity> confirmLogs) {
            this.confirmLogs = confirmLogs;
        }

        public List<OrderFilesEntity> getFiles() {
            return files;
        }

        public void setFiles(List<OrderFilesEntity> files) {
            this.files = files;
        }

        public String getDeliveryAddress() {
            return deliveryAddress;
        }

        public void setDeliveryAddress(String deliveryAddress) {
            this.deliveryAddress = deliveryAddress;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getDemandName() {
            return demandName;
        }

        public void setDemandName(String demandName) {
            this.demandName = demandName;
        }

        public String getApplicantName() {
            return applicantName;
        }

        public void setApplicantName(String applicantName) {
            this.applicantName = applicantName;
        }

        public String getApplicantPhone() {
            return applicantPhone;
        }

        public void setApplicantPhone(String applicantPhone) {
            this.applicantPhone = applicantPhone;
        }

        public String getUseDept() {
            return useDept;
        }

        public void setUseDept(String useDept) {
            this.useDept = useDept;
        }

        public String getContacts() {
            return contacts;
        }

        public void setContacts(String contacts) {
            this.contacts = contacts;
        }

        public String getContactPhone() {
            return contactPhone;
        }

        public void setContactPhone(String contactPhone) {
            this.contactPhone = contactPhone;
        }

        public String getSupplierName() {
            return supplierName;
        }

        public void setSupplierName(String supplierName) {
            this.supplierName = supplierName;
        }

        public String getProjectManager() {
            return projectManager;
        }

        public void setProjectManager(String projectManager) {
            this.projectManager = projectManager;
        }

        public String getProjectManagerPhone() {
            return projectManagerPhone;
        }

        public void setProjectManagerPhone(String projectManagerPhone) {
            this.projectManagerPhone = projectManagerPhone;
        }

        public boolean isPrepayments() {
            return prepayments;
        }

        public void setPrepayments(boolean prepayments) {
            this.prepayments = prepayments;
        }

        public String getOrderDateLabel() {
            return orderDateLabel;
        }

        public void setOrderDateLabel(String orderDateLabel) {
            this.orderDateLabel = orderDateLabel;
        }

        public String getTransformStatusLabel() {
            return transformStatusLabel;
        }

        public void setTransformStatusLabel(String transformStatusLabel) {
            this.transformStatusLabel = transformStatusLabel;
        }

        public List<OrderItemsBean> getOrderItems() {
            return orderItems;
        }

        public void setOrderItems(List<OrderItemsBean> orderItems) {
            this.orderItems = orderItems;
        }

        public static class OrderItemsBean {
            /**
             * id : 0
             * materialName : 类型: java.lang.String 描述: 物资名称
             * model : 类型: java.lang.String 描述: 规格/型号
             */

            private int id;
            private String materialName;
            private String model;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getMaterialName() {
                return materialName;
            }

            public void setMaterialName(String materialName) {
                this.materialName = materialName;
            }

            public String getModel() {
                return model;
            }

            public void setModel(String model) {
                this.model = model;
            }
        }
    }
}
